package com.itheima.area.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "t_index")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Index {
    /**
     *
     */
    @Id
    private Long id;

    /**
     * 指标名称
     */
    private String name;

    /**
     * 计量单位
     */
    private String unit;

}

